<div class="content">
	<?php
	$tools = array();
	$tools[] = n_href(n_url('rbac','index'),'角色列表',"class='n-href n-btn n-btn-ccc'");
	echo n_mod('skin')->pageHead("权限列表",$tools)
	?>
	<div class="n-sep">		
	<table class="n-table n-size-full">
		<tr>
			<th>ID</th>
			<th>权限</th>
			<th>访问码</th>
			<th>插件</th>
			<th>是否站点</th>
			<th>操作</th>
		</tr>
	<?php
	if(!empty($data['private'])){
	foreach($data['private'] as $key=>$val){
	?>
		<tr>
			<td><?=$val['id']?></td>
			<td><?=$val['name']?></td>
			<td><?=$val['acode']?></td>
			<td><?=$val['pevent']?></td>
			<td><?=$val['issite']?></td>
			<td>
				<?=n_ui(n_url('rbac','privateEdit',array('id'=>$val['id'])),'修改',"class='n-href'")?> |
				<?=n_ui(n_url('rbac','privateDel',array('id'=>$val['id'])),'删除',"class='n-href'")?>
			</td>
		</tr>
	<?php
	}
	}
	?>
	</table>
	</div>
</div>
